package com.cloud.drore.eboss.operation.entity;


import com.alibaba.fastjson.annotation.JSONField;
import com.cloud.drore.eboos.common.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: redis数据查询<br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/1/5 0005 下午 6:12 <br>
 * @Author: <a href="410508961@qq.com">夏凯</a>
 */
@Data
public class MerchantRedisAccount extends BaseEntity<Long> {

    /**
     * 商户名称
     */
    @NotBlank(message = "商户名称不能为空！")
    @JsonProperty("merchant_name")
    @JSONField(name = "merchant_name")
    @ApiModelProperty(name = "merchant_name", notes = "商户名称", example = "西溪湿地")
    private String merchantName;

    /**
     * redis现金池
     */
    @JsonProperty("redis_cool")
    @JSONField(name = "redis_cool")
    @ApiModelProperty(name = "redis_cool", notes = "redis现金池", example = "5000")
    private BigDecimal redisCool;

}